/**
 * Copyright [2020] [LiBo/Alex of copyright liboware@gmail.com ]
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hyts.callcenter.schema;

import com.hyts.callcenter.base.CallCenterRequest;
import com.hyts.callcenter.base.CallCenterResponse;
import com.hyts.callcenter.model.bo.ClueModel;

import java.util.List;

/**
 * @project-name:callcenter
 * @package-name:com.hyts.callcenter.schema
 * @author:LiBo/Alex
 * @create-date:2021-11-06 12:11 下午
 * @copyright:libo-alex4java
 * @email:liboware@gmail.com
 * @description: 呼叫线索的协议API
 */
public interface CallClueSchemaApi {

    /**
     * 保存线索id
     * @param callCenterRequest
     * @return
     */
    CallCenterResponse saveClue(CallCenterRequest<List<ClueModel>> callCenterRequest);

    /**
     * 删除线索id
     * @param callCenterRequest
     * @return
     */
    CallCenterResponse deleteClue(CallCenterRequest<Long> callCenterRequest);


    /**
     * 准备相关的线索进行控制处理（根据任务id）
     * @param callCenterRequest
     * @return
     */
    CallCenterResponse prepareClue(CallCenterRequest<Long> callCenterRequest);
}
